document.getElementById('file-upload').addEventListener('change', function(e) {
    const file = e.target.files[0];
    if (file) alert('Screenshot selected: ' + file.name);
});

document.getElementById('feedback-form').addEventListener('submit', function(e) {
    e.preventDefault();
    const requiredFields = ['name', 'phone', 'email', 'feedback-type', 'feedback-content'];
    if (requiredFields.some(field => !document.getElementById(field).value)) {
        alert('Please fill in all fields');
        return;
    }
    alert('Feedback submitted successfully. Thank you for your suggestions!');
    this.reset();
});